<%- include header.ejs %>
<div >
    <div style="margin-left: 10%;margin-right: 10%;min-height: 200px;text-align: center">
        <div style="background-color: white;height: 50px">
            <div style="height: 50px;background-color: #8c0f13;width: 100px;text-align:center;margin-left: 50px;color: white;font-size: 18px;line-height: 50px">留言详情</div>
        </div>
        <%if(data[0]){%>
        <table class="table table-bordered table-striped table-condensed table-hover" style="margin-top: 30px">
            <tr>
                <th>姓名：<%=data[0].Message_PersonName%></th>
                <th>电子邮箱:<%=data[0].Message_EMail%></th>
                <th>联系电话:<%=data[0].Message_Phone%></th>
            </tr>
            <tr style="height: 100px">
                <td colspan="3"><%=data[0].Message_Content%></td>

            </tr>
            <tr>
                <th>留言时间：<%=data[0].Message_MessageDateTime%></th>
                <th><% if(data[0].Message_State==1){%>未回复<%}else{%>已回复<%}%></th>
                <th>回复时间：<%=data[0].Message_AnswerDateTime%></th>
            </tr>
            <tr style="height: 100px">
                <td colspan="3"><%=data[0].Message_Answer%></td>
            </tr>
        </table>
        <%}else{%>
            <span style="line-height: 200px;font-size: 18px">没有相关数据！！！</span>
        <%}%>
    </div>
</div>


<%- include footer.ejs %>
